#define _CRT_SECURE_NO_WARNINGS 1
#include"main.h"

void Slist1(LTNode* plist)
{
	plist = ListInit();
	ListPushBack(plist, 1);
	ListPushBack(plist, 2);
	ListPushBack(plist, 3);
	ListPushBack(plist, 4);
	ListPrint(plist);
	ListPushFront(plist, 1);
	ListPushFront(plist, 2);
	ListPushFront(plist, 3);
	ListPushFront(plist, 4);
	ListPrint(plist);
	ListPopBack(plist);
	ListPopFront(plist);
	ListPrint(plist);
}


int main()
{
	LTNode* plist = NULL;
	Slist1(plist);
	return 0;
}